<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>用户注册</title>
	</head>
	<body style="background-color:olive">
	<center>
		<h2>
			<font color="blue">新用户注册</font>
		</h2>
		<s:form action="saveUser">
			<s:textfield name="user.username" label="用户名"></s:textfield>
			<s:password name="user.password" label="密码"></s:password>
			<s:textfield name="user.mobile" label="联系电话"></s:textfield>
			<s:textfield name="user.email" label="电子邮箱"></s:textfield>
			<s:submit method="register" value="注 册"></s:submit>
		</s:form>
		<h3>
		<td><a href = "login.jsp">返回</a></td>
		</h3>
		</center>
	</body>
</html>
